<?php
/**
 * DCRM About Page
 *
 * This file is part of WEIPDCRM.
 * 
 * WEIPDCRM is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * WEIPDCRM is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with WEIPDCRM.  If not, see <http://www.gnu.org/licenses/>.
 */

session_start();
define("DCRM",true);
$activeid = 'about';

if (isset($_SESSION['connected']) && $_SESSION['connected'] === true) {
	require_once("header.php");

	preg_match("#^([0-9]\.[0-9])\.([0-9.]*)#", VERSION, $versions);
?>
					<h2><?php _ex('About', 'About Page'); ?></h2>
					<br /><div class="alert alert-info"><h3>
					Cydia™ 软件源管理系统<br />
					<?php _e('Version: '); ?>V<?php _e('1.8.0'); ?> Pro <small>2018年3月31日更新</small><br /><br />
					<?php _e('本软件由“Cydia™ Ai-小苹果™二次开发”'); ?></h3><br /><br />
					<h4><?php _e('Developer'); ?></h4><br /><br />
					<?php _e('Main Program: '); ?><a href="http://wpa.qq.com/msgrd?v=3&uin=478066693&site=qq&menu=yes">Cydia™ Ai-小苹果™</a><br /><br />
					<?php _e('UI Design:'); ?><a href="http://wpa.qq.com/msgrd?v=3&uin=478066693&site=qq&menu=yes">Cydia™ Ai-小苹果™</a><br /><br />
					<h4><?php _e('在线咨询'); ?></h4><br /><br />
					<img class="icon" src="../icon/qq.png" /><a href="http://wpa.qq.com/msgrd?v=3&uin=478066693&site=qq&menu=yes"><h3><?php _e('在线客服'); ?></h3>

					<div align="center"><h4><?php _e('Copyright'); ?>&copy; 2013–<?php echo date('Y'); ?> Hintay &amp; Cydia™ Ai-小苹果™<br />
					<div align="center"><h3><?php _e('本管理系统由“Cydia™ Ai-小苹果™二次开发”'); ?></h3>
				</div>
			</div>
		</div>
	</div>
</body>
</html>
<?php
} else {
	$_SESSION['referer'] = $_SERVER['REQUEST_URI'];
	header("Location: login.php");
	exit();
}
?>